/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 * Description: Macros for asm alias code.
 */

#ifndef __ASMALIAS_H__
#define __ASMALIAS_H__

#ifdef __ASSEMBLER__
#define ASM_LINE_SEP ;
#define C_SYMBOL_NAME(name) name

#define strong_alias(original, alias) \
    .globl C_SYMBOL_NAME(alias)ASM_LINE_SEP \
    C_SYMBOL_NAME(alias) = C_SYMBOL_NAME(original)

#endif
#endif